package com.tal.order.service.feignclient;

import com.tal.order.dto.User;
import feign.Param;
import feign.RequestLine;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author max
 * @version 1.0.0
 * @ClassName UserServiceFeignClient.java
 * @Description TODO
 * @createTime 2021年03月28日 22:40:00
 */
public interface UserServiceFeignClient {
    @GetMapping("/friends/{userId}")
    List<User> getFriends(@PathVariable("userId") String userId);
}
